package com.springboot.elaticsearch.demo.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.springboot.elaticsearch.demo.pojo.DmAllplatOrderCompanyCountDay;
import com.springboot.elaticsearch.demo.utils.PageUtils;
import org.elasticsearch.search.builder.SearchSourceBuilder;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 企业销售统计表 服务类
 * </p>
 *
 * @author jxm
 * @since 2023-03-01
 */
public interface IDmAllplatOrderCompanyCountDayService extends IService<DmAllplatOrderCompanyCountDay> {

    boolean saveToES();

    List<Map<String, Object>> search(String keyword, Integer pageNo, Integer pageSize);

    PageUtils searchPage(String keyword,int pageNum, int pageSize) throws Exception;
}
